define({ "api": [
  {
    "type": "get",
    "url": "/banner/all",
    "title": "获取所有轮播图",
    "name": "getBanner",
    "group": "Banner",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "url",
            "description": "<p>地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pic",
            "description": "<p>图片</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取banner不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Banner.php",
    "groupTitle": "Banner"
  },
  {
    "type": "get",
    "url": "/category/all",
    "title": "获取所有分类",
    "name": "getAllCategory",
    "group": "Category",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>分类id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "pic",
            "description": "<p>图片</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "v1/Category.php",
    "groupTitle": "Category"
  },
  {
    "type": "get",
    "url": "/product/getProductReAll",
    "title": "获取热销产品",
    "group": "Product",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product",
    "name": "GetProductGetproductreall"
  },
  {
    "type": "get",
    "url": "/product/highNum",
    "title": "产品销量从高到低排序",
    "name": "_highNum",
    "group": "Product",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product"
  },
  {
    "type": "get",
    "url": "/product/highPerice",
    "title": "产品价格从高到低排序",
    "name": "_highPerice",
    "group": "Product",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product"
  },
  {
    "type": "get",
    "url": "/product/lowNum",
    "title": "产品销量从低到高排序",
    "name": "_lowNum",
    "group": "Product",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product"
  },
  {
    "type": "get",
    "url": "/product/lowPerice",
    "title": "产品价格从低到高排序",
    "name": "_lowPerice",
    "group": "Product",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product"
  },
  {
    "type": "get",
    "url": "/product/:id",
    "title": "根据id获取产品详情",
    "name": "_product__id",
    "group": "Product",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product"
  },
  {
    "type": "get",
    "url": "/product/:id",
    "title": "根据id获取产品详情",
    "name": "_product__id",
    "group": "Product",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product"
  },
  {
    "type": "post",
    "url": "/product/searchProduct",
    "title": "根据标题搜索产品",
    "name": "_searchProduct",
    "group": "Product",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product"
  },
  {
    "type": "get",
    "url": "/product/by_category/:id",
    "title": "根据分类获取产品",
    "name": "by_category__id",
    "group": "Product",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>分类id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Int",
            "optional": false,
            "field": "id",
            "description": "<p>产品id</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product"
  },
  {
    "type": "get",
    "url": "/product/all",
    "title": "获取所有产品",
    "name": "getAll",
    "group": "Product",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>id</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "title",
            "description": "<p>标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "erji_title",
            "description": "<p>二级标题</p>"
          },
          {
            "group": "Success 200",
            "type": "varchar",
            "optional": false,
            "field": "phone",
            "description": "<p>图片</p>"
          },
          {
            "group": "Success 200",
            "type": "text",
            "optional": false,
            "field": "product_introduct",
            "description": "<p>产品详情</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "new_perice",
            "description": "<p>现价</p>"
          },
          {
            "group": "Success 200",
            "type": "decimal",
            "optional": false,
            "field": "old_perice",
            "description": "<p>原价</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "404 : 获取产品不存在",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/Product.php",
    "groupTitle": "Product"
  },
  {
    "type": "post",
    "url": "/user/addAlipay",
    "title": "用户添加支付宝",
    "name": "addAlipay",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "user_id",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "alipay_name",
            "description": "<p>支付宝用户姓名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "account",
            "description": "<p>支付宝账号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "telephone",
            "description": "<p>支付宝电话</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "1",
            "description": "<p>成功</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "0 : 已经添加过支付宝了\n2：添加失败",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/addBank",
    "title": "用户添加银行卡",
    "name": "addBank",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "user_id",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bank_name",
            "description": "<p>开户行</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "bank_card",
            "description": "<p>开户账号</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>开户姓名</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "telephone",
            "description": "<p>手机号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "1",
            "description": "<p>成功</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "0 : 已经添加过银行了\n2：添加失败",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/checkPhone",
    "title": "验证手机号是否存在",
    "name": "checkPhone",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "defaultValue": "0",
            "description": ""
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "1 : 手机号已经注册",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/deleteAliPay",
    "title": "删除支付宝信息",
    "name": "deleteAliPay",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>支付宝账户id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "1",
            "description": "<p>成功</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "0 : 失败",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/deleteBankPay",
    "title": "删除银行卡信息",
    "name": "deleteBankPay",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>银行账户id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "1",
            "description": "<p>成功</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "0 : 失败",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/erjiUser",
    "title": "二级会员",
    "name": "erjiUser",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "defaultValue": "1",
            "description": "<p>返回二级会员信息</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户昵称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pay_money",
            "description": "<p>消费金额</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "money",
            "description": "<p>余额</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "code =0: 没有二级会员",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/getUserIncome",
    "title": "我的收益列表",
    "name": "getUserIncome",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "user_id",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "money",
            "description": "<p>收入</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "note",
            "description": "<p>说明</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "data.username",
            "description": "<p>消费人</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "defaultValue": "201",
            "description": "<p>成功</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/getUserInfo",
    "title": "获取用户信息",
    "name": "getUserInfo",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pic",
            "description": "<p>头像</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户昵称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pay_money",
            "description": "<p>消费金额</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "money",
            "description": "<p>余额</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "0 : 暂无信息",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "get",
    "url": "/user/getWchatQrcode",
    "title": "获取推广码",
    "name": "getWchatQrcode",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "code",
            "description": "<p>推荐码</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "defaultValue": "200",
            "description": "<p>成功</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "data",
            "description": "<p>base64图片</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/login",
    "title": "用户登录",
    "name": "login",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号.</p>"
          },
          {
            "group": "Parameter",
            "type": "varchar",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pic",
            "description": "<p>头像</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户昵称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pay_money",
            "description": "<p>消费金额</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "money",
            "description": "<p>余额</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/sanjiUser",
    "title": "三级会员",
    "name": "sanjiUser",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "defaultValue": "1",
            "description": "<p>返回三级会员信息</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "username",
            "description": "<p>用户昵称</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "address",
            "description": "<p>地址</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "pay_money",
            "description": "<p>消费金额</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "money",
            "description": "<p>余额</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "code =0: 没有三级会员",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/sendPasswordCode",
    "title": "找回密码发送验证码",
    "name": "sendPasswordCode",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>验证码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "msg",
            "description": "<p>提示信息</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/sendRegisterCode",
    "title": "发送注册验证码",
    "name": "sendRegisterCode",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>验证码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "msg",
            "description": "<p>提示信息</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/setUserInfo",
    "title": "设置基本信息",
    "name": "setUserInfo",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "username",
            "description": "<p>用户名</p>"
          },
          {
            "group": "Parameter",
            "type": "string",
            "optional": false,
            "field": "address",
            "description": "<p>地址</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "defaultValue": "201",
            "description": "<p>成功</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/setUserLogo",
    "title": "设置头像",
    "name": "setUserLogo",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "id",
            "description": "<p>用户id</p>"
          },
          {
            "group": "Parameter",
            "type": "base64",
            "optional": false,
            "field": "pic",
            "description": "<p>头像</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "defaultValue": "201",
            "description": "<p>成功</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/updateUserPassword",
    "title": "用户重置密码",
    "name": "updateUserPassword",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>1代表成功  0代表失败</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "msg",
            "description": "<p>提示信息</p>"
          }
        ]
      }
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/userAliInfo",
    "title": "获取用户绑定支付宝信息",
    "name": "userAliInfo",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "user_id",
            "description": "<p>用户id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>支付宝id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "alipay_name",
            "description": "<p>支付宝用户姓名</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "account",
            "description": "<p>支付宝账号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "telephone",
            "description": "<p>支付宝电话</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "0 : 暂无信息",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/userBankInfo",
    "title": "获取用户绑定银行卡信息",
    "name": "userBankInfo",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "int",
            "optional": false,
            "field": "user_id",
            "description": "<p>用户id</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>银行id</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "bank_name",
            "description": "<p>开户行</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "bank_card",
            "description": "<p>开户账号</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "name",
            "description": "<p>开户姓名</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "telephone",
            "description": "<p>手机号</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "0 : 无信息",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/userRegister",
    "title": "注册",
    "name": "userRegister",
    "group": "User",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": false,
            "field": "mobile",
            "description": "<p>手机号</p>"
          },
          {
            "group": "Parameter",
            "type": "varchar",
            "optional": false,
            "field": "password",
            "description": "<p>密码</p>"
          },
          {
            "group": "Parameter",
            "type": "varchar",
            "optional": false,
            "field": "code",
            "description": "<p>推荐码</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "defaultValue": "1",
            "description": "<p>注册成功</p>"
          }
        ]
      }
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "code=0: 注册失败",
          "type": "string"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/userTxAliOrder",
    "title": "提现到支付宝",
    "name": "userTxAliOrder",
    "group": "User",
    "parameter": {
      "examples": [
        {
          "title": "请求体:",
          "content": "{\n  \"user_id\": \"1\",\n  \"account\": \"支付宝账号\"\n  \"money\": \"提现金额\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>结果码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "msg",
            "description": "<p>消息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "响应体:",
          "content": " HTTP/1.1 200 OK\n {\n   \"code\": \"1\",\n   \"msg\": \"成功\"\n }\n\n  {\n   \"code\": \"2\",\n   \"msg\": \"账户余额减少失败\"\n }\n\n{\n   \"code\": \"3\",\n   \"msg\": \"体现到支付宝失败\"\n }",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/userTxBankOrder",
    "title": "提现到银行",
    "name": "userTxBankOrder",
    "group": "User",
    "parameter": {
      "examples": [
        {
          "title": "请求体:",
          "content": "{\n  \"user_id\": \"1\",\n  \"bank_name\": \"中国银行\"\n  \"bank_card\": \"银行账户\"\n  \"money\": \"体现金额\"\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>结果码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "msg",
            "description": "<p>消息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "响应体:",
          "content": " HTTP/1.1 200 OK\n {\n   \"code\": \"1\",\n   \"msg\": \"成功\"\n }\n\n  {\n   \"code\": \"2\",\n   \"msg\": \"账户余额减少失败\"\n }\n\n{\n   \"code\": \"3\",\n   \"msg\": \"提现到银行失败\"\n }",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "UserNotFound",
            "description": "<p>Theidof the User was not found.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n  \"error\": \"UserNotFound\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  },
  {
    "type": "post",
    "url": "/user/userTxLists",
    "title": "提现列表",
    "name": "userTxLists",
    "group": "User",
    "parameter": {
      "examples": [
        {
          "title": "请求体:",
          "content": "{\n  \"user_id\": \"1\",\n}",
          "type": "json"
        }
      ]
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>结果码</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "msg",
            "description": "<p>消息</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "响应体:",
          "content": "HTTP/1.1 200 OK  返回数据：\n[{\"id\":1,\n  \"user_id\":1,\n  \"money\":\"2.00\",\n \"create_time\":\"1970-01-01 08:00:00\",\n \"note\":\"\",\n \"state\":0,\n \"finish_time\":0,\n \"expend_number\":\"123\",\n \"money_account\":\"\"}]",
          "type": "json"
        }
      ]
    },
    "error": {
      "fields": {
        "Error 4xx": [
          {
            "group": "Error 4xx",
            "optional": false,
            "field": "UserNotFound",
            "description": "<p>Theidof the User was not found.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n  \"error\": \"UserNotFound\"\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "v1/User.php",
    "groupTitle": "User"
  }
] });
